// Programming_Scala/src/ch03/scoped-for-script.scala

val dogBreeds = List( "Doberman", "Yorkshire Terrier", "Dachshund", "Scottish Terrier", "Scarier Terrier", "Great Dane", "Portuguese Water Dog" )

for {
  breed <- dogBreeds
  upcasedBreed = breed.toUpperCase()
} {
  print( "upcasedBreed is " )
  println( upcasedBreed )
}
